package com.china.juju.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="juju_userseries_praise"
    ,catalog="zutuan_prot"
)
public class JujuUserseriesPraise  implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    public static final String ENTITY_NAME = "com.china.juju.entity.JujuUserseriesPraise";
	public static final String TABLE_NAME="juju_userseries_praise";

    public static final String PK_Field = "id"; 
    public static final String PK_Method = "getId";  
	
	public static final String P_id = "id"; 
	public static final String P_seriesid = "seriesid"; 
	public static final String P_userid = "userid"; 

     private String id;
     private String seriesid;
     private String userid;

    public JujuUserseriesPraise() {
    }
	
    public JujuUserseriesPraise(String id) {
        this.id = id;
    }
    public JujuUserseriesPraise(String id, String seriesid, String userid) {
        this.id = id;
        this.seriesid = seriesid;
        this.userid = userid;
    }
   
    @Id 
    @GeneratedValue( generator="paymentableGenerator")  
    @GenericGenerator(name="paymentableGenerator", strategy="uuid")  
    
    @Column(name="ID", unique=true, nullable=false, length=36)
    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="SERIESID", length=36)
    public String getSeriesid() {
        return this.seriesid;
    }
    
    public void setSeriesid(String seriesid) {
        this.seriesid = seriesid;
    }
    
    @Column(name="USERID", length=36)
    public String getUserid() {
        return this.userid;
    }
    
    public void setUserid(String userid) {
        this.userid = userid;
    }



    @Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}


